package com.yuandengta.yomall.seckill.feign;

import com.yuandengta.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 优惠服务远程接口 {@link CouponFeignService}
 *
 * @author Kevin
 * @email: 178676392@qq.com
 */
@FeignClient("yomall-coupon")
public interface CouponFeignService {

    /**
     * 获取最近三天的秒杀活动
     * @return
     */
    @GetMapping("/coupon/seckillsession/last3DaySession")
    R getLast3DaySession();
}
